Skip to content

build(docker): add licences and Red Hat labels to the image - #424

Merged
mayankpande88 merged 1 commit into
mainfrom
build/image-licences-and-labels
Nov 25, 2026
Merged

mayankpande88 merged 1 commit into
mainfrom
build/image-licences-and-labels

Conversation

@PrashantBtkl

Copy link
Copy Markdown
Contributor

What this PR does

Adds the licence files and the image's own name and vendor labels, which Red Hat certification of the agent chart requires. The agent binary is unchanged.

Red Hat's image check (preflight) goes from 8 to 10 of 11. The one left, RunAsNonRoot, is deliberate: the agent loads eBPF programs and needs root. That needs an answer from Red Hat, not a label.

Linked issue / context

Part of nudgebee/nudgebee-enterprise#43844

How was this tested?

To verify a built image: docker inspect shows name=nudgebee-node-agent and vendor=nudgebee, /licenses holds LICENSE, NOTICE and GPL-2.0.txt, and preflight check container fails only RunAsNonRoot.

  • linux/amd64 build: all of the above, and nudgebee-node-agent --version runs.
  • Not run on a cluster, and arm64 not built.

eBPF changes?

None.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Dockerfile and CHANGELOG.md to prepare the container image for Red Hat certification by adding metadata labels and copying license files to /licenses. The review feedback suggests adding the licenses label to the Dockerfile metadata for full certification compliance, and correcting the spelling of "licence" to "license" in the CHANGELOG.md for consistency.

Comment thread Dockerfile Resolved
Comment thread CHANGELOG.md Resolved
@PrashantBtkl
PrashantBtkl force-pushed the build/image-licences-and-labels branch from a451515 to f3f49d5 Compare November 25, 2026 15:26
@mayankpande88
mayankpande88 merged commit 4534c1c into main Nov 25, 2026
7 checks passed
@mayankpande88
mayankpande88 deleted the build/image-licences-and-labels branch November 25, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants